package com.parenting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.parenting.entities.ShopperChild;
import com.parenting.response.ShopperChildResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 宝宝认证 Mapper 接口
 * </p>
 *
 * @author zcj
 * @since 2021-05-12
 */
public interface ShopperChildMapper extends BaseMapper<ShopperChild> {

    List<ShopperChildResponse> childListByShopper(String id);

    Page<ShopperChildResponse> childCheckList(Page<ShopperChildResponse> page, @Param("type") Integer type);
}
